package net.csdn.business.kanban.common.domain.request;

import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName KanbanViewAddParam
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/9/18
 **/
@Data
public class KanbanViewAddParam {
    @NotBlank
    @Schema(name = "currUserId", description = "当前用户ID")
    private String currUserId;

    @Schema(name = "viewId", description = "复制view时必传，新建时不可传")
    private Long viewId;

    @NotNull
    @Schema(name="kanban_type",description = "看板类型：1:table 2:board 3:roadmap")
    private Integer kanbanType;

    @Schema(name = "filter_obj", description = "过滤条件{filter:测试,desc:5645633,group:2241244}")
    private JSONObject filterObj;

    @Schema(name = "fied_display_json", description = "字段显示隐藏")
    private JSONArray fieldDisplayJson;
}
